﻿//------------------------------------------------------------------------------
// <copyright file="MainPage.xaml.h" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

#pragma once

#include "MainPage.g.h"

namespace Rpc_CppSample
{
	/// <summary>
	/// An empty page that can be used on its own or navigated to within a Frame.
	/// </summary>
	public ref class MainPage sealed
	{
	public:
		MainPage();

		/// <summary>
        /// Gets or sets the message to display on the page.
        /// </summary>
        property Platform::String^ DisplayMessage
        {
            Platform::String^ get();

            void set(Platform::String^ value);
        }

	protected:
		virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
	};
}
